package com.wechatmall.api.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 实体类
 * </p>
 *
 * @author zpc
 * @since 2025-09-24 02:24:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_addresses")
@Schema(name = "UserAddresses", description = "实体")
public class UserAddresses implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID", example = "1", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String id;

    @Schema(description = "城市", example = "示例值")
    private String city;

    @Schema(description = "配送地址", example = "示例值")
    private String detailAddress;

    private String district;

    @Schema(description = "是否默认", example = "示例值")
    private String isDefault;

    @Schema(description = "电话", example = "示例值")
    private String phone;

    @Schema(description = "邮编", example = "示例值")
    private String postcode;

    @Schema(description = "省份", example = "示例值")
    private String province;

    @Schema(description = "收货人姓名", example = "示例值")
    private String receiverName;

    @Schema(description = "用户ID", example = "示例值")
    private String userId;

    @Schema(description = "更新时间", example = "2024-01-01T12:00:00", accessMode = Schema.AccessMode.READ_ONLY)
    private String updatedAt;

    @Schema(description = "创建时间", example = "2024-01-01T12:00:00", accessMode = Schema.AccessMode.READ_ONLY)
    private String createdAt;
}